From 369b997d5110cbd5089741728739ce6dbb1fe52e Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 25 Jun 2009 13:14:03 +0100 Subject: [PATCH] xend: create /var/lock/subsys at startup Ubuntu puts /var/lock on tmpfs, so we should create /var/lock at startup, rather than at installation time. Signed-off-by: Jun Koi --- tools/hotplug/Linux/init.d/xend | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/hotplug/Linux/init.d/xend b/tools/hotplug/Linux/init.d/xend index 32dfc84132..b98924a459 100755 --- a/tools/hotplug/Linux/init.d/xend +++ b/tools/hotplug/Linux/init.d/xend @@ -39,6 +39,7 @@ function await_daemons_up case "$1" in start) + mkdir -p /var/lock/subsys touch /var/lock/subsys/xend xend start await_daemons_up -- 2.30.2